package com.cms.common.model.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.util.Date;


@Data
@Entity
public class AdminUserRememberLogin extends BaseEntity {
    private String adminUserUuid;
    private String token;
    private String cookieToken = null;
    @Temporal(value = TemporalType.TIMESTAMP)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date expireTime = null;
}
